\documentclass[twoside]{book}

% Packages required by doxygen
\usepackage{calc}
\usepackage{doxygen}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{fixltx2e}
\PassOptionsToPackage{warn}{textcomp}
\usepackage{textcomp}
\usepackage[nointegrals]{wasysym}
\usepackage[table]{xcolor}

% Font selection
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{amssymb}
\usepackage{sectsty}
\renewcommand{\familydefault}{\sfdefault}
\allsectionsfont{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}
\renewcommand{\DoxyLabelFont}{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}
\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}

% Page & text layout
\usepackage{geometry}
\geometry{%
  a4paper,%
  top=2.5cm,%
  bottom=2.5cm,%
  left=2.5cm,%
  right=2.5cm%
}
\tolerance=750
\hfuzz=15pt
\hbadness=750
\setlength{\emergencystretch}{15pt}
\setlength{\parindent}{0cm}
\setlength{\parskip}{0.2cm}
\makeatletter
\renewcommand{\paragraph}{%
  \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{%
    \normalfont\normalsize\bfseries\SS@parafont%
  }%
}
\renewcommand{\subparagraph}{%
  \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{%
    \normalfont\normalsize\bfseries\SS@subparafont%
  }%
}
\makeatother

% Headers & footers
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}}
\fancyhead[CE]{\fancyplain{}{}}
\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}}
\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}}
\fancyhead[CO]{\fancyplain{}{}}
\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
\fancyfoot[LE]{\fancyplain{}{}}
\fancyfoot[CE]{\fancyplain{}{}}
\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Jul 17 2014 01\+:40\+:33 for Brain\+Train by Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Jul 17 2014 01\+:40\+:33 for Brain\+Train by Doxygen }}
\fancyfoot[CO]{\fancyplain{}{}}
\fancyfoot[RO]{\fancyplain{}{}}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\chaptermark}[1]{%
  \markboth{#1}{}%
}
\renewcommand{\sectionmark}[1]{%
  \markright{\thesection\ #1}%
}

% Indices & bibliography
\usepackage{natbib}
\usepackage[titles]{tocloft}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{5}
\makeindex

% Hyperlinks (required, but should be loaded last)
\usepackage{ifpdf}
\ifpdf
  \usepackage[pdftex,pagebackref=true]{hyperref}
\else
  \usepackage[ps2pdf,pagebackref=true]{hyperref}
\fi
\hypersetup{%
  colorlinks=true,%
  linkcolor=blue,%
  citecolor=blue,%
  unicode%
}

% Custom commands
\newcommand{\clearemptydoublepage}{%
  \newpage{\pagestyle{empty}\cleardoublepage}%
}


%===== C O N T E N T S =====

\begin{document}

% Titlepage & ToC
\hypersetup{pageanchor=false,
             bookmarks=true,
             bookmarksnumbered=true,
             pdfencoding=unicode
            }
\pagenumbering{roman}
\begin{titlepage}
\vspace*{7cm}
\begin{center}%
{\Large Brain\+Train }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.8.7}\\
\vspace*{0.5cm}
{\small Thu Jul 17 2014 01:40:33}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}

%--- Begin generated contents ---
\chapter{Brain\+Train Kurzanleitung}
\label{index}\hypertarget{index}{}\input{index}
\chapter{Bug List}
\label{bug}
\hypertarget{bug}{}
\input{bug}
\chapter{Namespace Index}
\input{namespaces}
\chapter{Hierarchical Index}
\input{hierarchy}
\chapter{Class Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Namespace Documentation}
\input{namespacebrtr}
\chapter{Class Documentation}
\input{classbrtr_1_1_add_interaction_callback_to_drawable_visitor}
\input{classbrtr_1_1_add_portal_gun_interaction_callback}
\input{class_animation_creator}
\input{classbrtr_1_1_base_interaction_callback}
\input{classbrtr_1_1_bench}
\input{structbrtr_1_1_body_of_rotation_function}
\input{classbrtr_1_1_cel_shading}
\input{classbrtr_1_1_cel_shading_technique}
\input{classbrtr_1_1_control_room}
\input{classbrtr_1_1_drunken_interaction_callback}
\input{classbrtr_1_1_f_p_s_camera_manipulator}
\input{classbrtr_1_1_geometry_placer_visitor}
\input{classbrtr_1_1_key_handler}
\input{classbrtr_1_1_modify_material_visitor}
\input{classbrtr_1_1_program_switcher_callback}
\input{structbrtr_1_1_rendering_pipeline}
\input{classbrtr_1_1_toon_tex_switcher_callback}
\input{classbrtr_1_1_train_switcher_callback}
\input{classbrtr_1_1_weapon_h_u_d}
\input{classbrtr_1_1_weapon_h_u_d_1_1_weapon_switch_handler}
\chapter{File Documentation}
\input{_animation_creater_8cpp}
\input{_animation_creater_8cpp_source}
\input{_add_portal_gun_interaction_callback_8cpp}
\input{_add_portal_gun_interaction_callback_8cpp_source}
\input{_base_interaction_callback_8cpp}
\input{_base_interaction_callback_8cpp_source}
\input{_drunken_interaction_callback_8cpp}
\input{_drunken_interaction_callback_8cpp_source}
\input{_program_switcher_callback_8cpp}
\input{_program_switcher_callback_8cpp_source}
\input{_toon_tex_switcher_callback_8cpp}
\input{_toon_tex_switcher_callback_8cpp_source}
\input{_train_switcher_callback_8cpp}
\input{_train_switcher_callback_8cpp_source}
\input{_f_p_s_camera_manipulator_8cpp}
\input{_f_p_s_camera_manipulator_8cpp_source}
\input{_weapon_h_u_d_8cpp}
\input{_weapon_h_u_d_8cpp_source}
\input{_key_handler_8cpp}
\input{_key_handler_8cpp_source}
\input{_add_interaction_callback_to_drawable_visitor_8h}
\input{_add_interaction_callback_to_drawable_visitor_8h_source}
\input{_add_portal_gun_interaction_callback_8h}
\input{_add_portal_gun_interaction_callback_8h_source}
\input{_animation_creater_8h}
\input{_animation_creater_8h_source}
\input{_base_interaction_callback_8h}
\input{_base_interaction_callback_8h_source}
\input{_bench_8h}
\input{_bench_8h_source}
\input{_cel_shading_8h}
\input{_cel_shading_8h_source}
\input{_control_room_8h}
\input{_control_room_8h_source}
\input{_drunken_interaction_callback_8h}
\input{_drunken_interaction_callback_8h_source}
\input{_f_p_s_camera_manipulator_8h}
\input{_f_p_s_camera_manipulator_8h_source}
\input{_geometry_placer_visitor_8h}
\input{_geometry_placer_visitor_8h_source}
\input{_key_handler_8h}
\input{_key_handler_8h_source}
\input{_modify_material_visitor_8h}
\input{_modify_material_visitor_8h_source}
\input{_program_switcher_callback_8h}
\input{_program_switcher_callback_8h_source}
\input{_toon_tex_switcher_callback_8h}
\input{_toon_tex_switcher_callback_8h_source}
\input{_train_switcher_callback_8h}
\input{_train_switcher_callback_8h_source}
\input{_util_functions_8h}
\input{_util_functions_8h_source}
\input{_weapon_h_u_d_8h}
\input{_weapon_h_u_d_8h_source}
\input{_main_8cpp}
\input{_main_8cpp_source}
\input{_bench_8cpp}
\input{_bench_8cpp_source}
\input{_control_room_8cpp}
\input{_control_room_8cpp_source}
\input{_cel_shading_8cpp}
\input{_cel_shading_8cpp_source}
\input{_add_interaction_callback_to_drawable_visitor_8cpp}
\input{_add_interaction_callback_to_drawable_visitor_8cpp_source}
\input{_geometry_placer_visitor_8cpp}
\input{_geometry_placer_visitor_8cpp_source}
\input{_modify_material_visitor_8cpp}
\input{_modify_material_visitor_8cpp_source}
\input{_util_functions_8cpp}
\input{_util_functions_8cpp_source}
%--- End generated contents ---

% Index
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{Index}
\printindex

\end{document}
